package com.hzit.mmcb.core.service;

import com.hzit.mmcb.core.pojo.dto.ExcelDict;
import com.hzit.mmcb.core.pojo.entity.Dict;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.InputStream;
import java.util.List;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author ljh
 * @since 2024-08-27
 */
public interface DictService extends IService<Dict> {

    void upload(InputStream inputStream);

    List<ExcelDict> listExcelDictDTO();

    List<Dict> findById(Integer pid);

    List<Dict> findByCode(String code);
}
